package com.lczyfz.campusinfo.common.utils;
import com.lczyfz.campusinfo.modules.jobmesmanage.service.InetAddressService;
import javax.servlet.http.HttpServletRequest;
public class Const {
	public static final String getinetAddressService(String imgsrc,HttpServletRequest request){
		InetAddressService inetAddressService = new InetAddressService();
		String imgpath = imgsrc.substring(1,imgsrc.length());
		String newimgpath =(request.getScheme()+"://"+inetAddressService.InetAddress()+":"+request.getLocalPort()+"/"+imgpath);
		return newimgpath;
	} //图片路径接口
	public static final String LOGINNAME = "loginName";

	public static final String EMAIL = "email";
	
	public static String getLoginname() {
		return LOGINNAME;
	}

}
